import axios from '@/libs/api.request'

export default class HandleBillAPi {
  // 明细账列表
  static getMingxiList (params) {
    return axios.request({
      url: '/EmployeeBill/GetList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
  // 明细删除
  static delMingxiBill (params) {
    return axios.request({
      url: '/EmployeeBill/Delete',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
  // 明细账导出
  static exportMingxiBill (params) {
    return axios.request({
      url: '/EmployeeBill/Export',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 总账账列表
  static getTotalList (params) {
    return axios.request({
      url: '/CustomerBill/GetList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
  // 总账删除
  static delTotalBill (params) {
    return axios.request({
      url: '/CustomerBill/Delete',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
  // 总账导出
  static exportTotalBill (params) {
    return axios.request({
      url: '/CustomerBill/Export',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
}